/*
 */
package portalsprototype;

import java.awt.Color;
import javax.swing.JPanel;
import javax.swing.border.LineBorder;

/**
 *
 * @author Oscar
 */
public class OmegaBar extends JPanel {

    private Portal activePortal;
    private OpenWindows openWindows = new OpenWindows();

    public OmegaBar() {
        this.setBackground(Color.ORANGE);
        this.setBorder(new LineBorder(Color.WHITE, 3));
    }

    public void showBar(Portal requestingPortal) {
        activePortal = requestingPortal;
        this.setVisible(false);
    }

    public void hideBar() {
        this.setVisible(false);
    }

    public OpenWindows getOpenWindows() {
        return openWindows;
    }
}
